package com.pojo;
//关注实体类
public class Attention {
    private long userId;
    private long projectId;
    private Project project;

    public Attention() {
    }

    public Attention(long userId, long projectId) {
        this.userId = userId;
        this.projectId = projectId;
    }

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }

    @Override
    public String toString() {
        return "Attention{" +
                "userId=" + userId +
                ", projectId=" + projectId +
                '}';
    }
}
